package cn.ly.core.thread.group;

/**
 * 把多个线程组合到一起，可以对一批线程进行分类管理，
 * java允许程序直接对线程进行控制
 * @author liuyu
 *
 */
public class ThreadGroupDemo {

	public static void main(String[] args) {
		MyRunnable my = new MyRunnable();
		Thread t1 = new Thread(my,"t1");
		ThreadGroup tg = new ThreadGroup("This is a new ThreadGroup");
	}
}
